package com.eascs.ticket.common.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * The persistent class for the ticket database table.
 * 
 */
@Entity
@NamedQuery(name = "Ticket.findAll", query = "SELECT t FROM Ticket t")
public class TicketFrom implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Column(name = "bug_dev_user_code")
	private String bugDevUserCode;

	@Column(name = "bug_dev_user_name")
	private String bugDevUserName;

	@Column(name = "bug_found_env")
	private String bugFoundEnv;

	@Column(name = "bug_validated_user_code")
	private String bugValidatedUserCode;

	@Column(name = "bug_validated_user_name")
	private String bugValidatedUserName;

	private String descriptions;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "implementation_done_time")
	private Date implementationDoneTime;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "implementation_review_time")
	private Date implementationReviewTime;

	@Column(name = "module_id")
	private String moduleId;

	private String operator;

	@Column(name = "operator_name")
	private String operatorName;

	private String priority;

	@Column(name = "project_id")
	private String projectId;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "publish_prod_time")
	private Date publishProdTime;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "qa_validated_time")
	private Date qaValidatedTime;

	private String reporter;

	@Column(name = "reporter_name")
	private String reporterName;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "requirement_reviewed_time")
	private Date requirementReviewedTime;

	private String status;

	@Column(name = "ticket_type_code")
	private String ticketTypeCode;

	private String title;

	@Column(name = "version_ticket_id")
	private String versionTicketId;

	@Column(name = "parent_ticket_id")
	private String parentTicketId;

	@Column(name = "due_date")
	public Date dueDate;

	@Column(name = "total_time")
	public Double totalTime;

	@Column(name = "start_time")
	public java.util.Date startTime;

	@Column(name = "end_time")
	public java.util.Date endTime;
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_date")
	private Date createDate;

	private String creator;
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "update_date")
	private Date updateDate;

	private String updator;

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getUpdator() {
		return updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}
	public TicketFrom() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBugDevUserCode() {
		return this.bugDevUserCode;
	}

	public void setBugDevUserCode(String bugDevUserCode) {
		this.bugDevUserCode = bugDevUserCode;
	}

	public String getBugDevUserName() {
		return this.bugDevUserName;
	}

	public void setBugDevUserName(String bugDevUserName) {
		this.bugDevUserName = bugDevUserName;
	}

	public String getBugFoundEnv() {
		return this.bugFoundEnv;
	}

	public void setBugFoundEnv(String bugFoundEnv) {
		this.bugFoundEnv = bugFoundEnv;
	}

	public String getBugValidatedUserCode() {
		return this.bugValidatedUserCode;
	}

	public void setBugValidatedUserCode(String bugValidatedUserCode) {
		this.bugValidatedUserCode = bugValidatedUserCode;
	}

	public String getBugValidatedUserName() {
		return this.bugValidatedUserName;
	}

	public void setBugValidatedUserName(String bugValidatedUserName) {
		this.bugValidatedUserName = bugValidatedUserName;
	}

	public String getDescriptions() {
		return this.descriptions;
	}

	public void setDescriptions(String descriptions) {
		this.descriptions = descriptions;
	}

	public Date getImplementationDoneTime() {
		return this.implementationDoneTime;
	}

	public void setImplementationDoneTime(Date implementationDoneTime) {
		this.implementationDoneTime = implementationDoneTime;
	}

	public Date getImplementationReviewTime() {
		return this.implementationReviewTime;
	}

	public void setImplementationReviewTime(Date implementationReviewTime) {
		this.implementationReviewTime = implementationReviewTime;
	}

	public String getModuleId() {
		return this.moduleId;
	}

	public void setModuleId(String moduleId) {
		this.moduleId = moduleId;
	}

	public String getOperator() {
		return this.operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getOperatorName() {
		return this.operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}

	public String getPriority() {
		return this.priority;
	}

	public void setPriority(String priority) {
		this.priority = priority;
	}

	public String getProjectId() {
		return this.projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public Date getPublishProdTime() {
		return this.publishProdTime;
	}

	public void setPublishProdTime(Date publishProdTime) {
		this.publishProdTime = publishProdTime;
	}

	public Date getQaValidatedTime() {
		return this.qaValidatedTime;
	}

	public void setQaValidatedTime(Date qaValidatedTime) {
		this.qaValidatedTime = qaValidatedTime;
	}

	public String getReporter() {
		return this.reporter;
	}

	public void setReporter(String reporter) {
		this.reporter = reporter;
	}

	public String getReporterName() {
		return this.reporterName;
	}

	public void setReporterName(String reporterName) {
		this.reporterName = reporterName;
	}

	public Date getRequirementReviewedTime() {
		return this.requirementReviewedTime;
	}

	public void setRequirementReviewedTime(Date requirementReviewedTime) {
		this.requirementReviewedTime = requirementReviewedTime;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getTicketTypeCode() {
		return this.ticketTypeCode;
	}

	public void setTicketTypeCode(String ticketTypeCode) {
		this.ticketTypeCode = ticketTypeCode;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getVersionTicketId() {
		return versionTicketId;
	}

	public void setVersionTicketId(String versionTicketId) {
		this.versionTicketId = versionTicketId;
	}

	public String getParentTicketId() {
		return parentTicketId;
	}

	public void setParentTicketId(String parentTicketId) {
		this.parentTicketId = parentTicketId;
	}

	public Date getDueDate() {
		return dueDate;
	}

	public void setDueDate(Date dueDate) {
		this.dueDate = dueDate;
	}

	public Double getTotalTime() {
		return totalTime;
	}

	public void setTotalTime(Double totalTime) {
		this.totalTime = totalTime;
	}

	public java.util.Date getStartTime() {
		return startTime;
	}

	public void setStartTime(java.util.Date startTime) {
		this.startTime = startTime;
	}

	public java.util.Date getEndTime() {
		return endTime;
	}

	public void setEndTime(java.util.Date endTime) {
		this.endTime = endTime;
	}

}